package com.jbit.hxy.model.dto;


import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;

@Getter
@Setter
@NoArgsConstructor
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
public class WxOrderDetailsDTO implements Serializable {
    private static final long serialVersionUID = 1L;

    //订单明细相关的属性

    /**
     * 所属订单ID
     */
    private Integer orderId;


    /**
     * 菜品名称
     */
    private String name;


    /**
     * 菜品图片
     */
    private String image;

    /**
     * 菜品ID
     */
    private Integer dishId;
    private Integer setmealId;

    /**
     * 购买数量
     */
    private Integer quantity;

    /**
     * 金额(小计)
     */
    private BigDecimal subtotal;
    private String dishFlavor;
}
